The result of each EXEC SQL statement executed inside a procedure body is stored into the variable SQLSUCCESS. 在过程体内部执行的每个EXECSQL过程语句都被存储到变量SQLSUCCESS中。
Developers who have written C-UDF or C Stored Procedures in DB2 have learned to check the SQLCA after each EXEC SQL statement in their code. 在DB2中编写C-UDF或C存储过程的开发人员已经学会在其代码的每条EXECSQL语句之后检查SQLCA。